package com.dz.risk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.risk.common.ResponseVO;
import com.dz.risk.pojo.QueryParams;
import com.dz.risk.pojo.domain.IndicatorDetailsEntity;
import com.dz.risk.pojo.model.PageModel;

import java.util.List;
import java.util.Map;

/**
 * 指标项详情
 *
 * @author yinpl
 * @email 
 * @date 2021-08-09 09:21:03
 */
public interface IndicatorDetailsService extends IService<IndicatorDetailsEntity> {

    IPage<IndicatorDetailsEntity> query(PageModel pageModel, IndicatorDetailsEntity queryParams);

    IndicatorDetailsEntity get(String indexNum);

    ResponseVO add(IndicatorDetailsEntity indicatorDetailsEntity);

    ResponseVO queryOnly(IndicatorDetailsEntity detailsEntity);

    List<IndicatorDetailsEntity> selectAll();

    List<String> selectIndexIds();

    void updateFormulaMap(Map<Long, String> hashMap);

    void deleteById(String indexNumber);
}

